package com.ly.mpayment.core.util;



import com.ly.mpayment.persist.common.CustomUUID;

import net.sf.json.JsonConfig;
import net.sf.json.processors.JsonValueProcessor;

public class CustomJsonValueProcessor implements JsonValueProcessor{

	public Object processObjectValue(String key, Object value, JsonConfig config) {
		return value == null ? "" : ((CustomUUID)value).getId();
	}
	
	public Object processArrayValue(Object arg0, JsonConfig arg1) {
		return null;
	}

}
